// 重置样式
@import "./modules/reset.scss";
// 头部
@import "./modules/header.scss";
// 底部
@import "./modules/footer.scss";
$width: 1263px 8px 387px;
$height: 548px 8px 387px;
$margin-top: 100px;
$color: #000 #fff #999;
$font-size: 14px;
$line-height: 16px;
$border-radius: 50%;
// 版心
.content {
  width: nth($width, 1);
  margin: 0 auto;
}

// 模块二 | banner图
.banner {
  height: 382px;
  background-color: #fff;
  .banner_img {
    height: 362px;
    overflow: hidden;
    li {
      height: 362px;
      float: left;
      img {
        height: 362px;
        width: 100%;
        display: block;
      }
    }
  }
}
// 小圆点可复用
.slide_spot {
  width: 64px;
  height: nth($height, 2);
  padding: 12px 0 0;
  margin: 0 auto;
  span {
    width: nth($width, 2);
    height: nth($height, 2);
    background-color: nth($color, 3);
    border-radius: nth($border-radius, 1);
    float: left;
    margin: 0 4px;
    text-align: center;
  }
}
// 模块三 | 当季热销
// h2可复用
h2 {
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 38px;
  font-weight: 500;
  margin: 0 0 30px;
}
.hot {
  margin-top: $margin-top;
  height: 638px;
  .content {
    height: nth($height, 1);
  }
}
// 商品介绍可复用
.goods {
  height: nth($height, 1);
  width: 421px;
  padding: 0 17px;
  cursor: pointer;
  float: left;
  img {
    display: block;
    width: nth($width, 3);
    height: nth($width, 3);
  }
  &_txt {
    display: block;
    height: 123px;
    text-align: center;
    h3 {
      height: 56px;
      padding: 18px 0 10px;
      color: nth($color, 1);
    }
    p {
      height: 33px;
      padding: 0 0 15px;
      color: nth($color, 3);
      font-size: 16px;
    }
    span {
      font-size: 20px;
      font-weight: bold;
      width: 50px;
      height: 22px;
      padding: 10px;
      color: nth($color, 1);
    }
  }
  .buy {
    display: block;
    width: 110px;
    height: 38px;
    font-size: nth($font-size, 1);
    background-color: #000;
    color: #fff;
    padding: 0 20px;
    line-height: 38px;
    text-align: center;
    margin: 0 auto;
  }
}
//模块四 | 明星系列
.star {
  width: 1263px;
  height: 1230px;
  margin: 0 auto;
  margin-top: $margin-top;
  &_img {
    height: 440px;
    // text-align: center;
    margin: 0 auto;
    img {
      @extend .star_img;
      display: block;
      // width: 100%;
      height: 100%;
    }
  }
  // 小黑家族部分
  .black {
    &_title {
      width: 1229px;
      font-size: 30px;
      line-height: 34px;
      color: #000;
      padding: 30px 0 10px;
      font-weight: normal;
      margin: 0 auto;
    }
    .desc {
      width: 1229px;
      font-size: 16px;
      line-height: 20px;
      color: #666;
      margin: 0 auto;
      letter-spacing: 1px;
    }
  }
  .star_con {
    margin: 40px 0 0 0;
    height: 548px;
  }
  .slide_spot {
    width: 48px;
    height: 20px;
  }
}
//模块五 | 官网臻享礼遇
.gift {
  height: 484px;
  width: 1263px;
  margin-top: $margin-top;
  // margin: 0 auto;
  .content {
    height: 484px;
    width: 1229px;
    margin: 0 auto;
    img {
      height: 413.86px;
      width: 1229px;
      display: block;
      text-align: center;
    }
  }
}
// 模块六 | 官网特别服务
.server {
  margin-top: $margin-top;
  height: 554px;
  .content {
    height: 484px;
    margin: 0 auto;
    .new {
      display: block;
      width: 421px;
      height: 484px;
      text-align: center;
      padding: 0 17px;
      float: left;
      img {
        width: nth($width, 3);
        height: 350px;
        display: block;
      }
      h3 {
        padding: 20px 0 10px;
        font-size: 28px;
        line-height: 30px;
        min-height: 62px;
        font-weight: normal;
      }
      p {
        padding: 0 0 13px;
        letter-spacing: 1px;
        color: nth($color, 3);
      }
    }
    .buy {
      display: block;
      width: 110px;
      height: 38px;
      font-size: nth($font-size, 1);
      background-color: #000;
      color: #fff;
      padding: 0 20px;
      line-height: 38px;
      text-align: center;
      margin: 0 auto;
    }
  }
}
// 模块七 | 图片展示
.beauty {
  margin-top: $margin-top;
  height: 362px;
  background-color: #baa;
  img {
    height: 362px;
    width: 100%;
    display: block;
  }
}
